package com.bobochang.warehouse.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 施工类型表
 * @TableName construction_type
 */
@TableName(value ="construction_type")
@Data
public class ConstructionType implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 名称
     */
    private String constructionType;

    /**
     * 计量名称
     */
    private String measurement;

    /**
     * 单位
     */
    private Integer unit;

    @TableField(exist = false)
    private String unitName;

    /**
     * 所用产品（沥青砼）
     */
    private Integer productId;

    @TableField(exist = false)
    private String productName;

    /**
     * 产品计量名称
     */
    private String measurementProduct;

    /**
     * 产品计量单位
     */
    private Integer unitProduct;

    @TableField(exist = false)
    private String unitProductName;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}